package com.topisv.tms.service.stock;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Component;

import com.topisv.tms.entity.QueryParamHolder;
import com.topisv.tms.entity.stock.ViewMainCusStock;
import com.topisv.tms.repository.stock.ViewMainCusStockDao;
import com.topisv.tms.service.base.BaseService;

@Component
public class ViewMainCusStockService extends BaseService {
	@Autowired
	private ViewMainCusStockDao viewMainCusStockDao;

	public Page<ViewMainCusStock> loadViewStock(QueryParamHolder paramHolder) {
		return findByJson(paramHolder, viewMainCusStockDao, ViewMainCusStock.class);
	}

}
